package com.arthur.shopping.service;

import java.util.List;

import com.arthur.common.domain.Tree;
import com.arthur.common.service.IService;
import com.arthur.shopping.domain.Type;

public interface TypeService extends IService<Type> {
	
	List<Type> findAllTypes(Type type);

	Tree<Type> getTypeTree();
	
	Type findById(Long typeId);

	Type findByName(String typeName);

	void addType(Type type);

	void updateType(Type type);
	
	void deleteMeuns(String typeIds);

	Tree<Type> getTypeNameTree();

}
